package com.spic.business.plan.comunication.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spic.business.plan.comunication.domain.PlanCommunicationSupport;

import java.util.List;

/**
 * 应急通讯保障Mapper接口
 * 
 * @author spic
 * @date 2021-10-15
 */
public interface PlanCommunicationSupportMapper extends BaseMapper<PlanCommunicationSupport>
{
    /**
     * 查询应急通讯保障
     * 
     * @param id 应急通讯保障主键
     * @return 应急通讯保障
     */
    public PlanCommunicationSupport selectPlanCommunicationSupportById(Long id);

    /**
     * 查询应急通讯保障列表
     * 
     * @param planCommunicationSupport 应急通讯保障
     * @return 应急通讯保障集合
     */
    public List<PlanCommunicationSupport> selectPlanCommunicationSupportList(PlanCommunicationSupport planCommunicationSupport);

    /**
     * 新增应急通讯保障
     * 
     * @param planCommunicationSupport 应急通讯保障
     * @return 结果
     */
    public int insertPlanCommunicationSupport(PlanCommunicationSupport planCommunicationSupport);

    /**
     * 修改应急通讯保障
     * 
     * @param planCommunicationSupport 应急通讯保障
     * @return 结果
     */
    public int updatePlanCommunicationSupport(PlanCommunicationSupport planCommunicationSupport);

    /**
     * 删除应急通讯保障
     * 
     * @param id 应急通讯保障主键
     * @return 结果
     */
    public int deletePlanCommunicationSupportById(Long id);

    /**
     * 批量删除应急通讯保障
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePlanCommunicationSupportByIds(Long[] ids);
}
